package com.cloud.drore.eboss.supplier.mapper;

import com.cloud.drore.eboos.common.base.MyMapper;
import com.cloud.drore.eboss.supplier.entity.Supplier;
import com.cloud.drore.eboss.supplier.mapper.provider.SupplierProvider;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

/**
 * 浙江卓锐科技股份有限公司 版权所有  Copyright 2018<br>
 *
 * @Description: <br>
 * @Project: eboos <br>
 * @CreateDate: Created in 2018/1/8 13:47 <br>
 * @Author: <a href="575842778@qq.com">郑永涛</a>
 */
public interface SupplierMapper extends MyMapper<Supplier> {

    @SelectProvider(type = SupplierProvider.class, method = "findByParms")
    List<Supplier> findByParms(Supplier parms);

    @Select("select * from eboos_supplier")
    List<Supplier> query();

}